package com.codedog.utils;

import com.codedog.enums.ResponseCodeEnum;

public class CodeDogExceptionUtil {
    public static Integer getExceptionCode(String message) {
        return ResponseCodeEnum.getResponseCodeEnumByMsg(message).getCode();
    }

    public static ResponseCodeEnum getResponseCodeEnum(String message) {
        return ResponseCodeEnum.getResponseCodeEnumByMsg(message);
    }
}
